<template>
  <div class="knowledge-base">
    <ul>
      <li v-for="item in items" :key="item">
        {{ item }}
      </li>
    </ul>
    <div class="knowledge-content"></div>
  </div>
</template>

<script>
export default {
  name: 'KnowledgeBase',
  data() {
    return {
      items: [
        '知识图谱',
        '知识图谱',
        '知识图谱',
        '知识图谱',
        '知识图谱',
        '知识图谱',
        '知识图谱',
        '知识图谱',
      ]
    };
  }
};
</script>

<style>
.knowledge-base {
  display: flex;
}

.knowledge-base ul {
  list-style: none;
  padding: 0;
  width: 200px;
  background-color: #fff;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
}

.knowledge-base ul li {
  padding: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.knowledge-base ul li:hover {
  background-color: #e6f7ff;
}

.knowledge-content {
  flex: 1;
  background-color: #1890ff;
  transition: background-color 0.3s;
}
</style>
